<form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Nickname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" name="row[nickname]" data-rule="required;nickname" placeholder="{:__('Nickname')}" />
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" name="row[mobile]" data-rule="required;mobile" placeholder="{:__('Mobile')}" />
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gender')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select id="c-gender" data-rule="required" class="form-control selectpicker" name="row[gender]">
                {foreach name=" $Sexlist" item="vo"}
                <option value="{$key}" {in name="key" value="" }selected{/in}>{$vo} </option> {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Email')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="email" class="form-control" name="row[email]" data-rule="required;email" placeholder="{:__('Email')}" />
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('SourceName')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select id="c-gender" data-rule="required" class="form-control selectpicker" name="row[sourceid]">
                {foreach name="$Sourcdata" item="vo"}
                <option value="{$key}" {in name="key" value="" }selected{/in}>{$vo} </option> {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Deal')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select id="c-gender" data-rule="required" class="form-control selectpicker" name="row[deal]">
                {foreach name=" $DealList" item="vo"}
                <option value="{$key}" {in name="key" value="" }selected{/in}>{$vo} </option> {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Region')}:</label>
        <div style="position:relative;" class="col-xs-12 col-sm-10 region_city">
            <input id="city" readonly type="text" name="row[region]" data-toggle="city-picker">
        </div>
    </div>
    <div class="form-group hidden layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
<style>
    .region_city .city-picker-span {
        width: 80% !important;
    }
</style>